package com.bzm.openfeign.goods;

import com.bzm.openfeign.goods.impl.GoodsInfoFeignFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Description: java类作用描述
 * @Author: hm
 * @CreateDate: 2020/11/15 21:11
 * @Version: 1.0
 */
@FeignClient(value = "bzm-dubbo-goods-provider",fallback = GoodsInfoFeignFallback.class)
public interface GoodsInfoFeignClient {

    @GetMapping("/dubboGoodsInfo/getServerPort")
    String getServerPort(@RequestParam("name") String name);
    
}
